<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
        <form class="layui-form" action="<?=url('bank/edit');?>">
            <input type="hidden" name="id" value="<?=$info['id']?>" />

            <div class="layui-form-item">
              <label class="layui-form-label">用户名</label>
              <div class="layui-input-block">
                <input type="text" value="<?=$info['user_name']?>" placeholder="请输入用户名" autocomplete="off" class="layui-input layui-disabled">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">开户行名称</label>
              <div class="layui-input-block">
                <input type="text" name="bank_name" value="<?=$info['bank_name']?>" required lay-verify="required" placeholder="请输入开户行名称" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">开户网点</label>
              <div class="layui-input-block">
                <input type="text" name="bank_wangdian" value="<?=$info['bank_wangdian']?>" required lay-verify="required" placeholder="请输入开户网点" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">卡号</label>
              <div class="layui-input-block">
                <input type="text" name="bank_no" value="<?=$info['bank_no']?>" required lay-verify="required" placeholder="请输入卡号" autocomplete="off" class="layui-input">
              </div>
            </div>

              <div class="layui-form-item">
                <div class="layui-input-block">
                  <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
                  <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
              </div>
        </form>
      </div>
    </div>
</div>
<script>
layui.use(['form'], function(){
  var $ = layui.$
  ,form = layui.form;
  form.render();
});
</script>
